﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TrupalTVCDA
{
    public class SistemaDA
    {

        public List<TrupalTVCEF.TBMANSISTEMA> ListarSistemas()
        {
            List<TrupalTVCEF.TBMANSISTEMA> lista = new List<TrupalTVCEF.TBMANSISTEMA>();
            try
            {
                var db = new TrupalTVCEF.BDTVCTrupalEntities();


                var varLista = db.TBMANSISTEMA;
                lista = varLista.ToList();
                
            }
            catch (Exception)
            {
                throw;
            }

            return lista;

        }
    }
}
